﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonAdd.aspx.cs" Inherits="maintain_test.PersonAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>民眾通報|雲林養護系統</title>
    <link href="css/index.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 86px;
        }
    </style>
    <style type="text/css">
@import "css/gallery.css";
</style>

<style type="text/css" media="all">
    @import "Upimg/thickbox.css";
    </style>

    <link rel="alternate stylesheet" type="text/css" href="Upimg/1024.css" title="1024 x 768" />

    <script src="Upimg/jquery-1.1.3.1.pack.js" type="text/javascript"></script>
    <script src="Upimg/thickbox-compressed.js" type="text/javascript"></script>
    <script src="Upimg/global.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
<div id="wrapper">
<div id="header">
	<div id="logo">
		<h1><a href="http://www.yunlin.gov.tw/">雲林縣政府</a></h1>
		<h2><a href="http://www.yunlin.gov.tw/"> Yunlin County Government </a></h2>
	</div>
	<!-- end div#logo -->
	<div id="menu">
		<ul>
			<li class="active"><a href="Default.aspx">首頁</a></li>
			<li><a href="http://www.cpami.gov.tw/">內政部營建署</a></li>
			<li><a href="http://www.thb.gov.tw/tm/wcf.aspx">公路總局</a></li>
			<li><a href="mailto:test@geoinfor.com.tw">連絡我們</a></li>
		</ul>
	</div>
	<!-- end div#menu -->
</div>
<div>
	<div id="page">
		<div id="page-bgtop">
			<div id="content">
				<div class="post">
					<div class="post-bgtop">
						<div class="post-bgbtm">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/images/img_main05.jpg" 
                                    Width="361px" />
							
							<div class="entry">
								<p></p>
								<p class="bylinehead">標示<font color=red>＊</font>為必需填寫的欄位</p>
								
								<table cellpadding="1" cellspacing="1" width="100%" border="1" >
                                    <tr>
                                            <td style="background-color: #e3e7fa; text-align: right;" class="style1">
                                                <font color=red>＊</font><asp:Label ID="Label8" runat="server" Text="鄉鎮市："></asp:Label>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="DrpCity" runat="server">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                    <tr>
                                            <td style="background-color: #e3e7fa; text-align: right;" class="style1">
                                                <font color=red>＊</font><asp:Label ID="Label9" runat="server" Text="通報類別："></asp:Label></td>
                                            <td>
                                                <asp:RadioButtonList ID="RadioRoadClass" runat="server" 
                                                    RepeatDirection="Horizontal">
                                                    <asp:ListItem Text="道路" Value="道路" ></asp:ListItem>
                                                    <asp:ListItem Text="橋樑" Value="橋樑" ></asp:ListItem>
                                                    <asp:ListItem Text="行道樹" Value="行道樹" ></asp:ListItem>
                                                    <asp:ListItem Text="排水溝" Value="排水溝" ></asp:ListItem>
                                                </asp:RadioButtonList>
                                            </td>
                                        </tr>
                                    <tr>
                                            <td style="background-color: #e3e7fa; text-align: right;" class="style1">
                                                <font color=red>＊</font><asp:Label ID="Label5" runat="server" Text="您的大名："></asp:Label></td>
                                            <td>
                                                <asp:TextBox ID="txtName" runat="server" MaxLength="50"></asp:TextBox>
                                                </td>
                                        </tr>
                                    <tr>
                                            <td style="background-color: #e3e7fa; text-align: right;" class="style1">
                                                <asp:Label ID="Label6" runat="server" Text="聯絡電話："></asp:Label></td>
                                            <td>
                                                <asp:TextBox ID="txtTel" runat="server" MaxLength="50"></asp:TextBox>
                                                (僅提供業務承辦人聯繫用，此資訊將不顯示)</td>
                                        </tr>
                                    <tr>
                                            <td style="background-color: #e3e7fa; text-align: right;" class="style1">
                                                <font color=red>＊</font><asp:Label ID="Label2" runat="server" Text="電子郵件："></asp:Label></td>
                                            <td>
                                                <asp:TextBox ID="txtMail" runat="server" Width="200px"></asp:TextBox>
                                            </td>
                                        </tr>
                                    <tr>
                                            <td style="background-color: #e3e7fa; text-align: right;" class="style1">
                                                <font color=red>＊</font><asp:Label ID="Label1" runat="server" Text="損壞地點："></asp:Label></td>
                                            <td>
                                                <asp:TextBox ID="txtPlace" runat="server" MaxLength="100" Width="290px"></asp:TextBox>(如中山路與民德路交接處等)</td>
                                        </tr>
                                    <tr>
                                            <td style="background-color: #e3e7fa; text-align: right;" class="style1">
                                                <asp:Label ID="Label10" runat="server" Text="鄰近地標："></asp:Label></td>
                                            <td>
                                                <asp:TextBox ID="txtNextPlace" runat="server" Width="200px"></asp:TextBox>
                                                (如斗六市農會成功辦事處等)</td>
                                        </tr>
                                    <tr>
                                            <td style="background-color: #e3e7fa; text-align: right;" class="style1">
                                                <font color=red>＊</font><asp:Label ID="Label3" runat="server" Text="狀況描述："></asp:Label></td>
                                            <td>
                                                <asp:TextBox ID="txtNote" runat="server" Height="100px" 
                                                    TextMode="MultiLine" Width="300px"></asp:TextBox>
                                            </td>
                                        </tr>
                                    <tr>
                                            <td style="background-color: #e3e7fa; text-align:right;" class="style1">
                                                <asp:Label ID="Label4" runat="server" Text="照片上傳："></asp:Label>
                                            </td>
                                            <td>
                                                <asp:DataList ID="DataList1" runat="server" RepeatColumns="6" 
                                                    RepeatDirection="Horizontal" onitemcommand="DataList1_ItemCommand">
                                                    <HeaderTemplate>
                                                        照片
                                                    </HeaderTemplate>
                                                    <FooterTemplate>
                                                        底部
                                                    </FooterTemplate>
                                                    <ItemTemplate>
                                                        <table width="75">
                                                        <tr>
                                                            <asp:Literal ID="Literal1" runat="server" OnDataBinding="litExample_DataBinding"></asp:Literal>
                                                            <br />
                                                            <center>[<asp:LinkButton ID="btnDel" runat="server" CommandName="Del" 
                                                            CommandArgument='<%# Eval("I") %>'  OnClientClick="javascript:return confirm('確定要刪除該筆照片嗎？');"
                                                            Style='text-decoration: none'>刪除</asp:LinkButton>]</center>
                                                        </tr>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:DataList>
                                                <asp:FileUpload ID="FindFile" runat="server" />
                                                &nbsp;&nbsp;
                                                <asp:Button ID="btnUpdata" runat="server" Text="上傳" 
                                                    CausesValidation="False" Height="21px" Width="40px" 
                                                    CssClass="font_12px-blue" onclick="btnUpdata_Click" />
                                                <asp:Label ID="Label7" runat="server" Text="可上傳格式為*.jpg; *.gif" ForeColor ="Red" ></asp:Label>
                                                <br />
                                            </td>
                                        </tr>
                                </table>
                                
							</div>
							<div class="meta">
							<p></p>
								<p><asp:LinkButton ID="btnSubmit" runat="server" class="more" 
                                        onclick="btnSubmit_Click">送出</asp:LinkButton><p class="bylineadd">通報日期：<asp:Label ID="lalToday" runat="server" Text=""></asp:Label></p></p>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- end div#content -->
			<div id="sidebar">
				<div id="sidebar-bgtop">
					<div id="sidebar-bgbtm">
						<ul>
							<li id="search">
								<h2>搜尋</h2>
								<form method="get" action="">
									<fieldset>
										<input type="text" id="seach-text" name="s" value="" />
										<input type="submit" id="search-submit" value="Go" />
									</fieldset>
								</form>
							</li>
							<li>
								<h2><a href="Default.aspx">關於e點平</a></h2>
							</li>
							<li>
								<h2>最新消息</h2>
								<ul>
									<li><a href="#">鄉公所</a></li>
									<li><a href="#">道路養護課</a></li>
									<li><a href="#">挖掘動態</a></li>
								</ul>
							</li>
							<li>
								<h2><a href="PersonAdd.aspx">道路通報</a></h2>
							</li>
							<li>
								<h2>處理情況</h2>
								<ul>
									<li><a href="PersonList.aspx?class=0">全部</a></li>
									<li><a href="PersonList.aspx?class=1">處理中</a></li>
									<li><a href="PersonList.aspx?class=2">已結案</a></li>
								</ul>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<!-- end div#sidebar -->
			<div style="clear: both; height: 1px"></div>
		</div>
	</div>
	<!-- end div#page -->
</div>
<!-- end div#wrapper -->
<div id="footer-wrapper">
	<div id="footer">
		<p id="legal">Copyright©2010 雲林縣政府 | 本站建議以1024*768模式瀏覽以達最佳效果</p>
		<p id="links">雲林縣 64001 斗六市雲林路二段515號 | 電話：05-5322154(10線)、05-5522000(網路電話)</p>
	</div>
</div>
</form>
<!-- end div#footer -->
</body>
</html>
